Skip to content

Hide news choice for few articles#2116

Merged
Mephistic merged 1 commit into
codeforboston:mainfrom
delexagon:news-feed-headers
May 11, 2026
Merged

Hide news choice for few articles#2116
Mephistic merged 1 commit into
codeforboston:mainfrom
delexagon:news-feed-headers

Conversation

@delexagon
Copy link
Copy Markdown
Collaborator

@delexagon delexagon commented May 5, 2026

Summary

Small fix for #2105. Headers will appear only if the number of news articles is above 10 spread among two or more categories.

Checklist

  • On the frontend, I've made my strings translate-able.
  • I've made pages responsive and look good on mobile.

Screenshots

Captura de pantalla_20260505_165733 Captura de pantalla_20260505_170340

Known issues

It's worth considering moving the "Show more" arrow beneath the article text on medium or smaller screens; when looking at mobile the space available for text seems too small.

Steps to test/reproduce

  1. Go to /about/in-the-news; there should be no headers.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maple-dev Ready Ready Preview, Comment May 5, 2026 9:10pm

Request Review

Copy link
Copy Markdown
Collaborator

@Mephistic Mephistic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Mephistic Mephistic merged commit 53525de into codeforboston:main May 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants